/* Cards affilié — responsive */
@media(max-width:600px){
    #joie-aff-bloc .aff-cards-grid {
        grid-template-columns: repeat(2,1fr) !important;
        gap:8px !important;
    }
    #joie-aff-bloc .aff-cards-grid > div {
        padding:10px 8px !important;
    }
    #joie-aff-bloc .aff-cards-grid > div > div:first-child {
        font-size:14px !important;
    }
    #joie-aff-bloc .aff-cards-grid > div > div:last-child {
        font-size:9px !important;
    }
    /* Header mobile */
    #joie-aff-bloc h3 {
        font-size:13px !important;
    }
    #joie-aff-bloc .aff-niveau-badge {
        font-size:9px !important;
        padding:3px 8px !important;
    }
}




/* ── AFFILIÉ — TEXTE EN BLEU ── */
#joie-aff-bloc { color:#092d4f !important; }
#joie-aff-bloc div { color:#092d4f !important; }
#joie-aff-bloc .jec-hint { color:#6c757d !important; }


@media(max-width:600px){
    .joie-orga-card h3,
    .joie-card h3,
    .jp-card h3,
    .jsc-history-wrap h3 {
        font-size:10px!important;
        font-weight:600!important;
        letter-spacing:0.2px!important;
        white-space:nowrap!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
    }
}


/* ── TABLE COLONNES FIXES ── */
/* ── TABLE COLONNES FIXES — desktop uniquement ── */
@media(min-width:769px){
    .joie-table {
        table-layout:fixed;
    }
    .joie-table th:nth-child(1),
    .joie-table td:nth-child(1) { width:44px; }
    .joie-table th:nth-child(2),
    .joie-table td:nth-child(2) { width:35%; word-break:break-word; white-space:normal; }
    .joie-table th:nth-child(3),
    .joie-table td:nth-child(3) { width:120px; }
    .joie-table th:nth-child(4),
    .joie-table td:nth-child(4) { width:155px; }
    .joie-table th:nth-child(5),
    .joie-table td:nth-child(5) { width:125px; }
    .joie-table td:nth-child(4) span { white-space:nowrap; display:inline-block; }
}



/* Largeurs fixes par colonne */
.joie-table th:nth-child(1),
.joie-table td:nth-child(1) { width:40px; }        /* Pause/Resume */

.joie-table th:nth-child(2),
.joie-table td:nth-child(2) {
    width:35%;                                       /* Titre — prend l'espace disponible */
    word-break:break-word;
    white-space:normal;
}

.joie-table th:nth-child(3),
.joie-table td:nth-child(3) { width:130px; }        /* Date */

.joie-table th:nth-child(4),
.joie-table td:nth-child(4) { width:160px; }        /* Statut */

.joie-table th:nth-child(5),
.joie-table td:nth-child(5) { width:130px; }        /* Actions */

/* Titre — retour à la ligne automatique */
.event-title {
    display:block;
    word-break:break-word;
    white-space:normal;
    line-height:1.4;
    font-weight:700;
    color:#092d4f;
}

/* Statut — pas de retour à la ligne */
.joie-table td:nth-child(4) span {
    white-space:nowrap;
    display:inline-block;
}

/* Actions — centré et compact */
.actions-inner {
    display:flex;
    gap:4px;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:flex-start;
}



textarea#cancel-motif::placeholder {
    color: #0c447c !important;
    opacity: 1 !important;
    font-family: 'Montserrat', sans-serif !important;
}



/* Placeholder textarea */
textarea#cancel-motif::placeholder               { color:#0c447c !important; opacity:0.5 !important; }
textarea#cancel-motif::-webkit-input-placeholder { color:#0c447c !important; opacity:0.5 !important; }
textarea#cancel-motif::-moz-placeholder          { color:#0c447c !important; opacity:0.5 !important; }
textarea#cancel-motif:-ms-input-placeholder      { color:#0c447c !important; opacity:0.5 !important; }

/* Placeholder dropdown custom */
#cancel-select-text {
    color: #0c447c !important;
    opacity: 0.5 !important;
}



@media(max-width: 768px){
    #cancel-precisions-label {
        font-size: 9px !important;
        letter-spacing: 0.3px !important;
    }
}



/* ===== FIX z-index menu mobile sur page billetterie ===== */
@media(max-width: 768px){
    .jb-page {
        position: relative !important;
        z-index: 1 !important;
    }
}



/* ===== MODAL ANNULATION — SURVOL ===== */
#joie-cancel-modal button,
#joie-cancel-modal a {
    transition: all 0.2s ease !important;
}

#joie-cancel-modal button:first-of-type:hover {
    background: #f1f3f5 !important;
    border-color: #092d4f !important;
    color: #092d4f !important;
}

#joie-cancel-modal button:last-of-type:hover {
    background: #c91525 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227,29,43,0.3);
}




.status.termine        { background:#f8d7da; color:#842029; }
.status.cancel-requested { background:#fff3cd; color:#856404; }
.action-btn.cancel     { background:#fff5f5; color:#e31d2b; border:1px solid #e31d2b; }
.action-btn.cancel:hover { background:#e31d2b; color:#fff; }



.action-btn.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(1);
}


/* ===== FORMULAIRE ===== */
.joie-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
}

.joie-form input,
.joie-form textarea,
.joie-form select {
    width: 100%;
    padding: 13px;
    margin-bottom: 14px;
    border: none;
    border-radius: 8px;
    background: #f5f7fa;
    font-size: 14px;
    color: #092d4f;
    box-sizing: border-box;
}

.joie-form input:focus,
.joie-form textarea:focus,
.joie-form select:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(227,29,43,0.4);
    background: #fff;
    color: #092d4f;
}

.joie-form input::placeholder,
.joie-form textarea::placeholder {
    color: #092d4f;
    opacity: 0.75;
    font-size: 13px;
}

.joie-form h3 {
    color: #e31d2b;
    font-size: 15px;
    margin-top: 16px !important;
    margin-bottom: 8px !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
}

.joie-form h3:first-of-type {
    margin-top: 10px !important;
}

.joie-form button {
    background: #e31d2b;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.joie-form button:hover {
    background: #092d4f;
}

@media (max-width: 600px){
    .joie-form h3 {
        font-size: 1rem !important;
        margin-top: 12px !important;
        margin-bottom: 6px !important;
    }
}



/* ===== DASHBOARD ===== */
.joie-dashboard {
    max-width: 900px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
}

.joie-dashboard h2 {
    color: #e31d2b;
    margin-bottom: 20px;
}

.dashboard-title {
    font-size: 22px !important;
}

@media (max-width: 768px){
    .dashboard-title { font-size: 16px !important; }
}

/* ===== HEADER ===== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

@media(max-width:768px){
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-create { width: 100%; text-align: center; }
}

/* ===== BOUTON CRÉER ===== */
.btn-create {
    display: inline-block;
    background: #e31d2b;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.btn-create:hover { background: #092d4f; }

/* ===== FILTRES ===== */
.joie-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.joie-filters a {
    padding: 6px 12px;
    border-radius: 20px;
    background: #f1f3f5;
    text-decoration: none;
    font-size: 13px;
    color: #333;
    transition: 0.2s;
}
.joie-filters a:hover,
.joie-filters a.active {
    background: #092d4f;
    color: #fff;
}

.joie-filters a.filter-reversement {
    background: linear-gradient(270deg, #e31d2b, #092d4f, #198754, #092d4f, #e31d2b);
    background-size: 300% 300%;
    animation: revGradient 4s ease infinite;
    color: #fff;
    font-weight: 700;
}
.joie-filters a.filter-reversement:hover,
.joie-filters a.filter-reversement.active {
    animation: revGradient 1.5s ease infinite;
    opacity: 0.9;
}
@keyframes revGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px){
    .joie-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        overflow-x: visible;
    }
    .joie-filters a {
        flex: 0 1 calc(50% - 4px);
        text-align: center;
        font-size: 11px;
        white-space: nowrap;
        box-sizing: border-box;
        padding: 6px 8px;
    }
    .joie-filters a.filter-reversement {
        flex: 0 1 calc(50% - 4px);
        font-size: 10px;
    }
}

@media(max-width:768px){
    .joie-filters a.filter-reversement {
        flex: 0 1 calc(50% - 4px)!important;
        font-size: 10px!important;
        padding: 5px 6px!important;
        display: flex!important;
        align-items: center!important;
        justify-content: center!important;
        line-height: 1.2!important;
    }
}




@media (max-width: 768px){
    .joie-table td[data-label="Titre"],
    .joie-table td[data-label="Titre"] span,
    .joie-table td[data-label="Titre"] .event-title {
        font-size: 13px !important;
        font-weight: normal !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        display: block !important;
    }
}




/* ===== MESSAGES ===== */
.joie-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}
.joie-message.success { background: #d4edda; color: #155724; }
.joie-message.update  { background: #e7f1ff; color: #0d6efd; }
.joie-message.cancel  { background: #f8d7da; color: #842029; }

/* ===== TABLE ===== */
.joie-table {
    width: 100%;
    border-collapse: collapse;
}

.joie-table th {
    background: #092d4f;
    color: #fff;
    padding: 10px;
    text-align: left;
}

.joie-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #092d4f;
    vertical-align: middle;
}

/* ===== COLONNE PAUSE ===== */
.pause-col {
    width: 44px;
    text-align: center;
}

.pause-btn { 
    color: #e31d2b; 
    font-size: 16px;
    text-decoration: none;
    transition: 0.2s;
}
.pause-btn:hover { color: #092d4f; }

.resume-btn { 
    color: #28a745; 
    font-size: 16px;
    text-decoration: none;
    transition: 0.2s;
}
.resume-btn:hover { color: #092d4f; }

/* ===== STATUTS ===== */
.status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: inline-block;
}
.status.pending   { background: #fff3cd; color: #856404; }
.status.published { background: #d4edda; color: #155724; }
.status.paused    { background: #fff3cd; color: #856404; }
.status.cancelled { background: #f8d7da; color: #842029; }




/* ===== COLONNE ACTIONS ===== */
.joie-table td.joie-actions {
    display: table-cell;
    vertical-align: middle;
}

.joie-table td.joie-actions > .actions-inner {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}


@media (max-width: 768px) {
    .joie-table td.joie-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .joie-table td.joie-actions > .actions-inner {
        justify-content: flex-start;
        gap: 6px;
    }
}




.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 6px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #f1f3f5;
    color: #333;
}

.action-btn:hover          { transform: translateY(-1px); }
.action-btn.view:hover     { background: #092d4f; color: #fff; }
.action-btn.edit:hover     { background: #ffc107; color: #000; }
.action-btn.sales:hover    { background: #198754; color: #fff; }


	/* Boutons pont Prespa ↔ WooCommerce */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 20px 0;
}

.action-buttons a {
    display: inline-block;
    background-color: #e31d2b;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center;
}

.action-buttons a:hover {
    background-color: #092d4f;
}

@media screen and (max-width: 768px) {
    .action-buttons a {
        font-size: 14px;
        padding: 8px 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}


@media screen and (min-width:1024px){

    .joie-orders-table{
        table-layout:auto !important;
        width:100% !important;
    }

    .joie-orders-table th,
    .joie-orders-table td{
        font-size:13px !important;
        padding:10px 14px !important;
        white-space:normal !important;
        word-break:keep-all !important;
        text-align:center !important;
    }

    .joie-orders-table th:nth-child(1),
    .joie-orders-table td:nth-child(1){
        min-width:160px;
    }

    .joie-orders-table th:nth-child(2),
    .joie-orders-table td:nth-child(2){
        min-width:140px;
    }

    .joie-orders-table th:nth-child(3),
    .joie-orders-table td:nth-child(3){
        min-width:140px;
    }

    .joie-orders-table th:nth-child(4),
    .joie-orders-table td:nth-child(4){
        min-width:160px;
    }

    .joie-orders-table th:nth-child(5),
    .joie-orders-table td:nth-child(5){
        min-width:110px;
    }

}



@media (max-width: 480px) {
  section.woocommerce-order-downloads h2.woocommerce-order-downloads__title {
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
}



.download-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  padding: 12px;
  font-size: 15px;
}

.download-title {
  flex: 1;
  word-wrap: break-word;
  white-space: normal;
  font-weight: normal !important;
}

.download-button {
  background: #e31d2b !important;
  color: #fff !important;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.download-button:hover {
  background: #092d4f !important;
  color: #fff !important;
}

@media (max-width: 480px) {
  .woocommerce-order-downloads__title {
    font-size: 16px !important;
    margin-bottom: 10px;
  }

  .download-item {
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
  }

  .download-button {
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }
}



.woocommerce-Reviews #reviews,
.woocommerce-Reviews .woocommerce-noreviews,
.woocommerce-Reviews .woocommerce-review-link {
    background: transparent !important;
    border: 1px solid #e31d2b !important;
    color: #e31d2b !important;
    padding: 12px;
    border-radius: 6px;
    text-align: left;
}

.woocommerce #reviews .woocommerce-noreviews {
    background: transparent !important;
    border: 2px solid #e31d2b !important;
    color: #e31d2b !important;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
}

.woocommerce #reviews .woocommerce-noreviews,
.woocommerce #reviews .woocommerce-noreviews * {
    color: #e31d2b !important;
}

.woocommerce-Reviews textarea {
    border: 1px solid #e31d2b !important;
    background: transparent !important;
    color: #e31d2b !important;
}

@media (max-width: 768px) {
    .product_title, 
    .entry-title, 
    .event-title, 
    .woocommerce div.product .product_title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        margin-bottom: 12px !important;
    }
}

.woocommerce-message, .woocommerce-info, .woocommerce-error, .jd-downloads-message { border: 2px solid #e31d2b !important; 
font-weight: normal !important; 
color: #092d4f !important; background-color: #fff; padding: 15px; border-radius: 6px; margin-bottom: 20px; 
font-weight: normal !important; 
}

.woocommerce-message a, .woocommerce-info a, .woocommerce-error a, .jd-button { background-color: transparent; color: #e31d2b; border: 2px solid #e31d2b; padding: 8px 15px; border-radius: 4px; text-decoration: none; transition: all 0.3s ease; display: inline-block; font-weight: 500; }

.woocommerce-message a:hover, .woocommerce-info a:hover, .woocommerce-error a:hover, .jd-button:hover { background-color: #e31d2b; color: #fff !important; border-color: #e31d2b; }




.woocommerce p { color: #092d4f !important; }



.custom-file-upload {
    position: relative;
    display: inline-block;
}

.custom-file-upload input[type="file"] {
    display: none;
}

.custom-file-upload .upload-btn {
    background-color: #e31d2b;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    text-align: center;
}

.custom-file-upload .upload-btn:hover {
    background-color: #092d4f;
    color: #ffffff !important;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.9em;
    color: #e31d2b;
    font-weight: bold;
}



.user-profile-picture img,
.avatar-admin img,
.avatar {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    display: inline-block !important;
}

.avatar-img,
#avatar-preview img,
#dashboard-avatar img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    display: inline-block;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #092d4f;
    font-size: 0.7em;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
    .avatar-img,
    #avatar-preview img,
    #dashboard-avatar img,
    .avatar-placeholder {
        width: 60px;
        height: 60px;
        font-size: 0.6em;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}




html body.archive.woocommerce ul.products li.product .price, html body.archive.woocommerce ul.products li.product .woocommerce-Price-amount { color: #092d4f !important; }


html body.single-product #tab-reviews #reviews .woocommerce-noreviews, html body.single-product #tab-reviews #reviews .woocommerce-review__awaiting-approval { color: #092d4f !important; }



html body.single-product #tab-reviews #reviews textarea#comment { color: #092d4f !important; border: 2px solid #ccc; }


html body.single-product #tab-reviews #reviews textarea#comment:focus { outline: none !important; }



.woocommerce-cart form.checkout_coupon input#coupon_code::placeholder { color: #092d4f !important; font-weight: normal !important; }










html body.single-product #tab-reviews #reviews .woocommerce-review__awaiting-approval,
html body.single-product #tab-reviews #reviews .woocommerce-noreviews {
    color: #092d4f !important;
}

html body.woocommerce ul.products li.product .price,
html body.woocommerce ul.products li.product .woocommerce-Price-amount,
html body.woocommerce-cart .cart .product-price,
html body.woocommerce-cart .cart .product-subtotal,
html body.woocommerce-cart .order-total .amount {
    color: #092d4f !important;
}






html body.single-product #tab-reviews #reviews .woocommerce-Reviews-title {
    color: #e31d2b !important;
}

html body.single-product #tab-reviews #reviews .comment-form-comment label {
    color: #e31d2b !important;
}

html body.single-product #tab-reviews #reviews .woocommerce-review__published-date,
html body.single-product #tab-reviews #reviews .commentlist .meta time {
    color: #092d4f !important;
    font-weight: 500;
}

html body.single-product #tab-reviews #reviews textarea#comment {
    border: 2px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

html body.single-product #tab-reviews #reviews textarea#comment:hover,
html body.single-product #tab-reviews #reviews textarea#comment:focus {
    border-color: #e31d2b !important;
    box-shadow: 0 0 8px #e31d2b !important;
}











form.woocommerce-EditAccountForm.edit-account p.woocommerce-form-row label {
    font-weight: 700 !important;
    color: #092d4f !important;
    font-family: 'Montserrat', sans-serif !important;
    display: block;
    margin-bottom: 6px;
}

form.woocommerce-EditAccountForm.edit-account .form-hint,
form.woocommerce-EditAccountForm.edit-account #account_display_name_description {
    font-size: 12px;
    font-style: italic;
    color: #092d4f !important;
    margin-top: 4px;
    display: block;
    font-weight: normal !important;
}


form.woocommerce-EditAccountForm.edit-account .woocommerce-password-strength {
    background-color: #fff !important;
    border: 2px solid #e31d2b !important;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif !important;
    display: inline-block;
}

.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
    border-color: #e31d2b !important;
    color: #e31d2b !important;
}

.woocommerce-password-strength.good {
    border-color: #d4af37 !important;
    color: #092d4f !important;
}

.woocommerce-password-strength.strong {
    border-color: #092d4f !important;
    color: #092d4f !important;
}


	/* Labels premium */
.woocommerce-EditAccountForm label {
    font-weight: 700 !important;
    color: #092d4f !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-bottom: 6px;
    display: block;
}

.woocommerce-EditAccountForm .woocommerce-Input {
    border: 1px solid #092d4f !important;
    font-weight: 700 !important;
    color: #092d4f !important;
    font-family: 'Montserrat', sans-serif !important;
    padding: 10px;
    border-radius: 6px;
}

.woocommerce-EditAccountForm .form-hint {
    font-size: 12px;
    font-style: italic;
    color: #092d4f !important;
    margin-top: 4px;
    display: block;
}

.woocommerce-password-strength {
    background-color: #fff !important;
    border: 2px solid #e31d2b !important;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #092d4f !important;
    font-family: 'Montserrat', sans-serif !important;
}

.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
    border-color: #e31d2b !important;
    color: #e31d2b !important;
}

.woocommerce-password-strength.good {
    border-color: #d4af37 !important;
    color: #092d4f !important;
}

.woocommerce-password-strength.strong {
    border-color: #092d4f !important;
    color: #092d4f !important;
}


form.woocommerce-EditAccountForm.edit-account .woocommerce-Input:focus {
    border-color: #e31d2b !important;
    box-shadow: 0 0 8px rgba(227, 29, 43, 0.4);
    outline: none !important;
    transition: all 0.3s ease;
}


.woocommerce form label {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #092d4f !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-bottom: 8px;
    display: block;
}

.woocommerce form .input-text {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #092d4f;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #092d4f;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce form .input-text:focus,
.woocommerce form .input-text:hover {
    border-color: #e31d2b !important;
    box-shadow: 0 0 8px rgba(227,29,43,0.4);
    outline: none;
}


.woocommerce form .input-text { color: #092d4f !important; font-weight: 600 !important; font-family: 'Montserrat', sans-serif !important; }






.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-bottom: 15px;
}

@media (max-width: 480px) {
    .woocommerce-account .u-column1 h2,
    .woocommerce-account .u-column2 h2 {
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-bottom: 10px;
        display: inline-block;
        width: auto;
        margin-right: 10px;
    }

    .woocommerce-account .u-columns {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}





.woocommerce-account form.woocommerce-form {
    max-width: 100%;
}

@media (max-width: 480px) {
    .woocommerce-account form.woocommerce-form {
        max-width: 90%;
        margin: 0 auto;
        padding: 10px;
    }

    .woocommerce-account form.woocommerce-form .input-text {
        padding: 10px;
        font-size: 14px;
    }

    .woocommerce-account form.woocommerce-form .button {
        padding: 10px;
        font-size: 14px;
    }
}





.woocommerce .woocommerce-order-details__title,
.woocommerce .woocommerce-column__title {
    font-size: 22px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .woocommerce .woocommerce-order-details__title,
    .woocommerce .woocommerce-column__title {
        font-size: 16px !important;
    }
}






.woocommerce .event-presentation h2 {
    color: red;
    font-size: 22px;
    font-weight: 700;
}

.woocommerce .event-presentation .event-info {
    color: #092d4f;
    font-size: 16px;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .woocommerce .event-presentation h2 {
        font-size: 16px !important;
    }
}






body, h1, h2, h3, h4, h5, h6, p, a, span, div,
.woocommerce, .woocommerce-page {
    font-family: 'Montserrat', sans-serif !important;
}

.woocommerce-MyAccount-content {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.woocommerce-MyAccount-content p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}
.woocommerce-MyAccount-content a {
    color: #004aad;
    font-weight: 500;
    text-decoration: none;
}
.woocommerce-MyAccount-content a:hover {
    color: #d4af37;
    text-decoration: underline;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce input[type=submit],
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .button {
    background-color: #e31d2b !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px;
    padding: 12px 20px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input[type=submit]:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce .button:hover {
    background-color: #c21a26 !important;
    color: #fff !important;
}

.woocommerce a {
    color: #e31d2b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.woocommerce a:hover {
    color: #092d4f;
    text-decoration: underline;
}

@media (max-width: 768px) {
    body, p, span, a {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    h1, h2, h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button {
        font-size: 14px !important;
        padding: 8px 14px !important;
    }
    .woocommerce-MyAccount-navigation ul li a {
        font-size: 14px !important;
        padding: 10px !important;
    }
    .woocommerce-info {
        font-size: 14px !important;
        padding: 12px !important;
        text-align: left;
    }
}

.woocommerce-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 2px solid #e31d2b;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 500px;
}
.woocommerce-cart-empty .empty-icon {
    font-size: 60px;
    color: #e31d2b;
    margin-bottom: 20px;
}
.woocommerce-cart-empty .empty-message {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #092d4f;
}
.woocommerce-cart-empty .return-to-shop a {
    display: inline-block;
    background-color: #e31d2b;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.woocommerce-cart-empty .return-to-shop a:hover {
    background-color: #c21a26;
}
@media (max-width: 768px) {
    .woocommerce-cart-empty {
        padding: 30px 15px;
    }
    .woocommerce-cart-empty .empty-icon {
        font-size: 48px;
        margin-bottom: 15px;
    }
    .woocommerce-cart-empty .empty-message {
        font-size: 14px;
    }
    .woocommerce-cart-empty .return-to-shop a {
        font-size: 14px;
        padding: 10px 16px;
    }
}

.woocommerce-message,
.jd-success-message {
    background-color: #fff !important;
    border: 2px solid #e31d2b !important;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #092d4f !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 500;
}

.woocommerce-message::before,
.jd-success-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    content: none !important;
    display: none !important;
}

.woocommerce-message .button,
.jd-success-message .button {
    background-color: #e31d2b !important;
    color: #fff !important;
    border-radius: 5px;
    padding: 8px 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 12px;
}
.woocommerce-message .button:hover,
.jd-success-message .button:hover {
    background-color: #c21a26 !important;
    color: #fff !important;
}

@media (max-width: 992px) {
    .woocommerce-message,
    .jd-success-message {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .woocommerce-message .button,
    .jd-success-message .button {
        margin-top: 15px !important;
        margin-left: 0 !important;
        display: block;
        text-align: center;
    }
}

.checkout-title {
    color: #092d4f;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
}
#order_review_heading {
    color: #092d4f;
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0;
}
#place_order {
    background-color: #e31d2b !important;
    color: #fff !important;
    border-radius: 5px;
    padding: 12px 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
#place_order:hover {
    background-color: #c21a26 !important;
}

.woocommerce-MyAccount-navigation ul li a {
    padding: 8px 12px;
    display: inline-block;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #092d4f;
    color: #fff;
}
.woocommerce-MyAccount-navigation ul li.is-active a:hover,
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #e31d2b;
    color: #fff;
}

.woocommerce-table--downloads {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.woocommerce-table--downloads th {
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 8px;
    text-align: left;
    white-space: nowrap;
}
.woocommerce-table--downloads td {
    font-size: 12px;
    padding: 6px 8px;
    vertical-align: middle;
}


.woocommerce-error::before,
.jd-error-message::before {
    content: none !important;
    display: none !important;
}

.jd-error-message {
    background-color: #fff !important;
    border: 2px solid #e31d2b !important;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #e31d2b !important;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
}

.jd-error-message li {
    margin: 5px 0;
}

@media (max-width: 992px) {
    .jd-error-message {
        text-align: center;
        font-size: 14px;
    }
}


.woocommerce-info::before,
.jd-notice-message::before {
    content: none !important;
    display: none !important;
}

.jd-notice-message {
    background-color: #fff !important;
    border: 2px solid #092d4f !important;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #092d4f !important;
    font-size: 16px;
    font-weight: 500;
}

.jd-notice-message .button {
    background-color: #092d4f !important;
    color: #fff !important;
    border-radius: 5px;
    padding: 8px 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 12px;
}
.jd-notice-message .button:hover {
    background-color: #e31d2b !important;
    color: #fff !important;
}

@media (max-width: 992px) {
    .jd-notice-message {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .jd-notice-message .button {
        margin-top: 15px !important;
        margin-left: 0 !important;
        display: block;
        text-align: center;
    }
}






.woocommerce div.product .stock .stock-number {
    color: #e31d2b;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce div.product .stock .stock-text {
    color: #092d4f;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}




.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #092d4f;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}




.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #092d4f;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #092d4f;
    border-bottom: 2px solid #092d4f;
}



.woocommerce-review__author {
    color: #092d4f;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce-review__verified {
    color: #e31d2b;
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce #review_form #respond .form-submit input {
    background-color: #e31d2b;
    color: #fff;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}




.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
    color: #092d4f !important;
}

.woocommerce-breadcrumb a:hover {
    color: #002a80 !important;
}

.woocommerce div.product .wc-tabs li a {
    color: #092d4f !important;
}

.woocommerce div.product .wc-tabs li a:hover {
    color: #092d4f !important;
}



@media (max-width: 480px) {
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button {
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
    }

    .woocommerce a.button span,
    .woocommerce button.button span,
    .woocommerce input.button span {
        display: inline-block;
        padding-left: 100%;
        animation: scroll-text 8s linear infinite;
    }

    @keyframes scroll-text {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }
}



@media (max-width: 768px) {
    body, p, span, a, li {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    h4, h5, h6 {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }

    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button {
        font-size: 14px !important;
        padding: 8px 14px !important;
    }

    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        font-size: 13px !important;
        padding: 6px !important;
    }

    .woocommerce-message,
    .woocommerce-error,
    .woocommerce-info {
        font-size: 14px !important;
        text-align: left !important;
    }
}



.woocommerce-order-overview,
.woocommerce-order-overview li,
.woocommerce-order-overview strong {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.woocommerce-order-overview li::before,
.woocommerce-order-overview li {
    font-weight: 500 !important;
    color: #092d4f;
}

.woocommerce-order-overview strong {
    font-weight: 600 !important;
    color: #e31d2b;
}



.woocommerce h1 {
    font-size: 26px !important;
    line-height: 1.3 !important;
}

.woocommerce h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
}

.woocommerce h3 {
    font-size: 20px !important;
    line-height: 1.25 !important;
}

.woocommerce h4 {
    font-size: 18px !important;
    line-height: 1.25 !important;
}

.woocommerce h5 {
    font-size: 16px !important;
    line-height: 1.2 !important;
}

.woocommerce h6 {
    font-size: 14px !important;
    line-height: 1.2 !important;
}




@media (max-width: 768px) {
  
    .woocommerce-order-details__title,
    .woocommerce-order-overview-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
    }
}


@media (max-width: 768px) {
    h2.checkout-title,
    #order_review_heading,
    .woocommerce-billing-fields h3,
    .woocommerce-billing-fields h2 {
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
    }
}



@media (max-width: 768px) {
    .woocommerce-order-details__title,
    .woocommerce-order-overview-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .woocommerce-cart .cart_totals h2,
    .woocommerce-cart .woocommerce-order-details__title,
    .woocommerce-cart .woocommerce-order-overview-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        text-align: left !important;
        margin-bottom: 10px !important;
    }
}

.woocommerce-cart a.button.checkout-button,
.woocommerce-cart button.button.checkout-button,
.woocommerce-cart input.button.checkout-button {
    font-weight: 700 !important;
}

	

	/* Tableau premium */
.joie-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.joie-orders-table th {
    background: #092d4f;
    color: #fff;
    text-align: left;
    padding: 12px;
    font-weight: 600;
}

.joie-orders-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.joie-orders-table tr:hover {
    background: #f9f9f9;
}

.link-action {
    color: #e31d2b;
    text-decoration: none;
    font-weight: 600;
}
.link-action:hover {
    color: #092d4f;
    text-decoration: underline;
}

.joie-pagination {
    margin-top: 20px;
    text-align: center;
}
.joie-pagination .btn-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #092d4f;
    padding: 8px;
    margin: 0 5px;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.2s ease;
}
.joie-pagination .btn-page:hover {
    color: #e31d2b;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .joie-orders-table thead {
        display: none;
    }
    .joie-orders-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
    }
    .joie-orders-table td {
        display: block;
        border: none;
        padding: 8px;
    }
    .joie-orders-table td::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #092d4f;
        display: block;
        margin-bottom: 4px;
    }
    .order-actions {
        text-align: center;
    }
}

	
	
	
	/* Pagination - style uniforme */
.joie-pagination {
    margin-top: 20px;
    text-align: center;
}

.joie-pagination .btn-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #e31d2b;
    padding: 8px;
    margin: 0 5px;
    text-decoration: none;
    font-size: 22px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.joie-pagination .btn-page:hover {
    color: #092d4f;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .joie-pagination .btn-page {
        background: transparent !important;
        color: #e31d2b !important;
    }
    .joie-pagination .btn-page:hover {
        color: #092d4f !important;
    }
}

	
	table.joie-orders-table td,
table.joie-orders-table th {
    font-size: 12px !important;
    padding: 6px !important;
}

	
	
	
	/* Style général des actions */
.link-action {
    color: #e31d2b;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.link-action:hover {
    color: #092d4f;
}

@media (min-width: 769px) {
    .order-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .order-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }
}

	
	
	
	
	/* Tableau premium */
.joie-orders-table th,
.joie-orders-table td {
    font-size: 12px !important;
    white-space: nowrap !important;
    padding: 6px 8px;
}

.link-action {
    color: #e31d2b;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.link-action:hover {
    color: #092d4f;
}

@media (min-width: 769px) {
    .order-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .order-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }
}

	

	
	
	/* Labels premium */
.woocommerce-EditAccountForm label {
    font-weight: 700 !important;
    color: #092d4f !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-bottom: 6px;
    display: block;
}

.woocommerce-EditAccountForm .woocommerce-Input {
    border: 1px solid #092d4f !important;
    font-weight: 700 !important;
    color: #092d4f !important;
    font-family: 'Montserrat', sans-serif !important;
    padding: 10px;
    border-radius: 6px;
}

.woocommerce-EditAccountForm .form-hint {
    font-size: 12px;
    font-style: italic;
    color: #092d4f !important;
    margin-top: 4px;
    display: block;
}

.woocommerce-password-strength {
    background-color: #fff !important;
    border: 2px solid #e31d2b !important;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #092d4f !important;
    font-family: 'Montserrat', sans-serif !important;
}

.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
    border-color: #e31d2b !important;
    color: #e31d2b !important;
}

.woocommerce-password-strength.good {
    border-color: #d4af37 !important;
    color: #092d4f !important;
}

.woocommerce-password-strength.strong {
    border-color: #092d4f !important;
    color: #092d4f !important;
}



	
@media screen and (max-width: 768px) {
    .woocommerce-breadcrumb,
    .single-product .woocommerce-Tabs-panel h2 {
        font-size: 16px !important;
    }
}
	
	
	
	
	/* ── FIX MOBILE CARDS ── */
@media(max-width:768px){

    .joie-table { table-layout:auto !important; }

    .joie-table thead { display:none; }
    .joie-table,
    .joie-table tbody { display:block; width:100%; }

    .joie-table tr {
        display:block;
        width:100%;
        margin-bottom:14px;
        border-radius:12px;
        overflow:hidden;
        box-shadow:0 3px 12px rgba(9,45,79,.08);
        border-left:3px solid #e31d2b;
        background:#fff;
    }

    .joie-table th:nth-child(1),.joie-table td:nth-child(1),
    .joie-table th:nth-child(2),.joie-table td:nth-child(2),
    .joie-table th:nth-child(3),.joie-table td:nth-child(3),
    .joie-table th:nth-child(4),.joie-table td:nth-child(4),
    .joie-table th:nth-child(5),.joie-table td:nth-child(5){
        width:100% !important;
        white-space:normal !important;
    }

    .joie-table td {
        display:flex !important;
        flex-direction:row !important;
        justify-content:space-between !important;
        align-items:center !important;
        padding:10px 14px !important;
        border:none !important;
        border-bottom:1.5px solid #d8dfe8 !important;
        width:100% !important;
        box-sizing:border-box !important;
        gap:10px;
        min-height:42px;
    }
    .joie-table tr td:last-child { border-bottom:none !important; }

    .joie-table td::before {
        content:attr(data-label);
        font-weight:700;
        font-size:10px;
        color:#092d4f;
        opacity:.5;
        text-transform:uppercase;
        letter-spacing:.4px;
        white-space:nowrap;
        flex-shrink:0;
        min-width:52px;
        margin-right:0;
    }

    .joie-table td.pause-col {
        justify-content:flex-end !important;
        padding:7px 14px !important;
        min-height:32px;
        border-bottom:none !important;
        background:#fafafa;
    }
    .joie-table td.pause-col::before { display:none !important; }

    .joie-table td[data-label="Titre"] {
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:5px;
    }
    .joie-table td[data-label="Titre"]::before { min-width:unset; }
    .joie-table td[data-label="Titre"] .event-title {
        font-size:13px !important;
        font-weight:700 !important;
        word-break:break-word !important;
        display:block;
        width:100%;
    }
    .joie-table td[data-label="Titre"] span,
    .joie-table td[data-label="Titre"] a {
        display:inline-block !important;
        width:auto !important;
        max-width:fit-content !important;
        white-space:nowrap !important;
        font-size:10px !important;
        padding:2px 9px !important;
    }

.joie-table td[data-label="Date"] { align-items:flex-start; }
.joie-table td[data-label="Date"] br { display:inline !important; }
.joie-table td[data-label="Date"] > * { text-align:right; flex:1; }
.joie-table td[data-label="Date"] small {
    font-size:10px !important;
    opacity:.5;
    white-space:nowrap;
    display:block;
    text-align:right;
}
	
    .joie-table td[data-label="Statut"] { align-items:center; }
    .joie-table td[data-label="Statut"] .status {
        font-size:10px !important;
        padding:3px 8px !important;
        white-space:nowrap !important;
        display:inline-block !important;
        width:auto !important;
        max-width:calc(100% - 60px) !important;
    }

    .joie-table td[data-label="Actions"],
    .joie-table td.joie-actions {
        align-items:center !important;
        flex-direction:row !important;
    }
    .joie-table td[data-label="Actions"] .actions-inner,
    .joie-table td.joie-actions .actions-inner {
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:wrap !important;
        gap:6px !important;
        justify-content:flex-end !important;
        flex:1;
    }
   .action-btn {
        width:34px !important;
        height:34px !important;
        padding:0 !important;
        font-size:15px !important;
        border-radius:8px !important;
        flex-shrink:0;
    }
}

/* ═══════════════════════════════════════════
   JOIE AWARDS — Badge nommé/lauréat
   Taille calquée sur le badge rôle voisin à
   chaque emplacement — jamais une taille unique
   globale, pour rester cohérent localement.
═══════════════════════════════════════════ */

/* Base commune */
.joie-award-badge{
    margin-left:6px;
    vertical-align:middle;
}

/* ── Emplacement : joie-espace-client.php (à côté de .jec-role-badge) ── */
.joie-award-badge-espace_client{
    padding:2px 8px;
    font-size:10px;
}
@media(max-width:600px){
    .joie-award-badge-espace_client{
        font-size:8px!important;
        padding:1px 6px!important;
        margin-top:3px!important;
    }
}

/* ── Emplacement : joie-auth.php dropdown header + menu mobile (à côté de .jem-role) ── */
.joie-award-badge-header{
    padding:3px 12px;
    font-size:10px;
}
@media(max-width:768px){
    .joie-award-badge-header{
        font-size:10px!important;
        padding:3px 12px!important;
    }
}



/* ═══════════════════════════════════════════
   JOIE AWARDS — Page publique + widget live
   Cartes calquées sur .jb-event-card (billetterie) :
   image en taille réelle en haut, infos en dessous.
═══════════════════════════════════════════ */

/* ── Photos — petit format circulaire (widgets uniquement) ── */
.joie-award-photo,
.joie-award-photo-mini{
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
    display:block;
}
.joie-award-photo{ width:68px;height:68px;border:3px solid #e31d2b; }
.joie-award-photo-mini{ width:44px;height:44px;border:2px solid #e8ecf0; }
.joie-award-photo-ph,
.joie-award-photo-mini-ph{
    border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:#092d4f;flex-shrink:0;
}
.joie-award-photo-ph{ width:68px;height:68px;font-size:28px; }
.joie-award-photo-mini-ph{ width:44px;height:44px;font-size:18px; }

@media(max-width:768px){
    .joie-award-photo,.joie-award-photo-ph{ width:60px!important;height:60px!important; }
    .joie-award-photo-ph{ font-size:24px!important; }
    .joie-award-photo-mini,.joie-award-photo-mini-ph{ width:36px!important;height:36px!important; }
    .joie-award-photo-mini-ph{ font-size:15px!important; }
}

/* ── Page publique — design premium "soirée de gala" ── */
/* Bleu marine + or (couleur signature récompense) + rouge (ponctuel, "live") */
.joie-awards-public{
    max-width:1150px;margin:0 auto;padding:30px 20px 70px;
    font-family:'Montserrat',Arial,sans-serif;
}

/* ── En-tête événement (année, statut, sélecteur d'année) ── */
.jap-header{
    text-align:center;position:relative;
    background:linear-gradient(135deg,#092d4f,#0c447c);
    border-radius:18px;padding:38px 26px;color:#fff;
    margin:20px 0 36px;
    box-shadow:0 10px 28px rgba(9,45,79,.25);
    border-bottom:3px solid #fbbf24;
}
.jap-header-icon{
    font-size:38px;line-height:1;margin-bottom:10px;
    filter:drop-shadow(0 3px 10px rgba(251,191,36,.45));
}
.jap-header h1{
    font-size:24px;font-weight:800;margin:0 0 8px;color:#fff;letter-spacing:.3px;
}
.jap-header h1 .jap-header-year{ color:#fbbf24; }
.jap-header p{ font-size:13px;color:rgba(255,255,255,.8);margin:0 auto;max-width:480px;line-height:1.6; }

.jap-year-switch{
    display:flex;gap:8px;justify-content:center;flex-wrap:wrap;
    margin-top:24px;position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
}
.jap-year-switch::-webkit-scrollbar{ height:4px; }
.jap-year-switch::-webkit-scrollbar-track{ background:rgba(255,255,255,.1);border-radius:10px; }
.jap-year-switch::-webkit-scrollbar-thumb{ background:#fbbf24;border-radius:10px; }
.jap-year-switch a{ flex-shrink:0; }
.jap-year-switch a{
    padding:8px 20px;border-radius:30px;font-size:13px;font-weight:700;
    color:#092d4f;text-decoration:none;background:#f7f9fb;
    border:1.5px solid #e8ecf0;transition:all .2s ease;
}
.jap-year-switch a:hover{ background:#eef1f4;border-color:#fbbf24; }
.jap-year-switch a.active{
    background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#092d4f;
    border-color:#fbbf24;box-shadow:0 4px 14px rgba(251,191,36,.4);
}

/* ── Bannière cérémonie + countdown ── */
.jap-ceremony-banner{
    background:linear-gradient(135deg,#092d4f,#173f6b);
    border:1.5px solid rgba(251,191,36,.3);border-radius:20px;
    padding:32px 24px;text-align:center;color:#fff;margin-bottom:36px;
    position:relative;overflow:hidden;
}
.jap-ceremony-date{ font-size:14px;font-weight:700;margin-bottom:18px;opacity:.9; }
.jap-ceremony-date strong{ color:#fbbf24; }
.jap-ceremony-countdown{ display:flex;gap:12px;justify-content:center;margin-bottom:18px;flex-wrap:wrap; }
.jap-cd-item{
    background:rgba(255,255,255,.08);border:1.5px solid rgba(251,191,36,.25);
    border-radius:14px;padding:14px 18px;min-width:64px;
}
.jap-cd-item span{
    display:block;font-size:30px;font-weight:800;color:#fbbf24;line-height:1;
    font-variant-numeric:tabular-nums;
}
.jap-cd-item small{ display:block;font-size:10px;opacity:.7;margin-top:4px;text-transform:uppercase;letter-spacing:.5px; }
.jap-ceremony-msg{ font-size:13px;opacity:.85;max-width:480px;margin:0 auto;line-height:1.6; }
@media(max-width:768px){
    .jap-ceremony-banner{ padding:22px 16px!important; }
    .jap-ceremony-date{ font-size:12px!important; }
    .jap-ceremony-countdown{ gap:6px!important; }
    .jap-cd-item{ padding:10px 6px!important;min-width:54px; }
    .jap-cd-item span{ font-size:22px!important; }
    .jap-cd-item small{ font-size:8px!important; }
    .jap-ceremony-msg{ font-size:11px!important; }
}

/* ── Écran black-out (phase gelée / aucune donnée) ── */
.jap-blackout{
    background:linear-gradient(135deg,#061d33,#092d4f);
    border-radius:24px;padding:70px 30px;text-align:center;color:#fff;
    margin-bottom:20px;
}
.jap-blackout-icon{ font-size:52px;margin-bottom:18px;opacity:.9; }
.jap-blackout-title{ font-size:20px;font-weight:800;margin-bottom:12px;color:#fbbf24; }
.jap-blackout p{ font-size:14px;color:rgba(255,255,255,.85);opacity:.85;max-width:440px;margin:0 auto;line-height:1.7; }
.jap-blackout p strong{ color:#fbbf24; }
@media(max-width:768px){
    .jap-blackout{ padding:40px 18px!important;border-radius:18px; }
    .jap-blackout-icon{ font-size:36px!important; }
    .jap-blackout-title{ font-size:15px!important; }
    .jap-blackout p{ font-size:12px!important; }
}

/* ── Tag "en live" ── */
.jap-live-tag{
    display:inline-flex;align-items:center;gap:6px;
    background:rgba(227,29,43,.1);color:#e31d2b;border:1.5px solid rgba(227,29,43,.3);
    border-radius:20px;padding:5px 14px;font-size:11px;font-weight:800;
    margin-bottom:18px;
}
.jap-live-tag::before{
    content:'';width:7px;height:7px;border-radius:50%;background:#e31d2b;
    animation:japPulse 1.4s ease-in-out infinite;
}
@keyframes japPulse{ 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(1.3);} }
@media(prefers-reduced-motion:reduce){ .jap-live-tag::before{ animation:none!important; } }

/* ── Section catégorie ── */
.jap-cat-section{ margin-bottom:56px; }
.jap-cat-title{
    display:flex;align-items:center;gap:10px;
    font-size:20px;font-weight:800;color:#e31d2b;margin-bottom:6px;
    padding-bottom:14px;border-bottom:2px solid #f0e6d2;
}
.jap-cat-title span{ font-size:26px; }

/* ── Carte (nommé standard) ── */
.jap-card{
    background:#fff;border-radius:20px;overflow:hidden;
    border:1.5px solid #e8ecf0;transition:transform .25s ease,box-shadow .25s ease;
}
.jap-card:hover{ transform:translateY(-3px);box-shadow:0 10px 26px rgba(9,45,79,.12); }

.jap-card-img{ position:relative;aspect-ratio:4/3;overflow:hidden;background:#f7f9fb; }
.jap-card-img img{ width:100%;height:100%;object-fit:cover;display:block; }
.jap-card-img-event img{ width:100%;height:100%;object-fit:cover; }
.jap-card-img-event .jap-card-ph{ width:100%;height:100%; }
.jap-card-img-person{
    display:flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,#092d4f,#173f6b);
}
.jap-card-avatar{
    width:110px;height:110px;border-radius:50%;object-fit:cover;flex-shrink:0;
    border:3px solid #fbbf24;box-shadow:0 6px 18px rgba(9,45,79,.15);
}
.jap-card-avatar-ph{
    width:110px;height:110px;border-radius:50%;background:#fff;flex-shrink:0;
    border:3px solid #fbbf24;box-shadow:0 6px 16px rgba(9,45,79,.2);font-size:30px;
    display:flex;align-items:center;justify-content:center;
}
.jap-card-ph{
    width:100%;height:100%;display:flex;align-items:center;justify-content:center;
    font-size:40px;color:#092d4f;opacity:.35;
}

.jap-card-badge{
    position:absolute;top:10px;left:10px;
    display:inline-flex;align-items:center;gap:4px;
    padding:5px 12px;border-radius:20px;font-size:10px;font-weight:800;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}
.jap-card-badge-laureat{ background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#092d4f; }
.jap-card-badge-live{ background:#e31d2b;color:#fff; }

.jap-card-body{ padding:14px 12px; }
/* Le titre de la carte reste en bleu marine — seul le titre de catégorie
   (.jap-cat-title) garde une identité propre — deux niveaux différents. */
.jap-card-title{
    font-size:13px;font-weight:800;color:#092d4f;text-align:center;
    line-height:1.4;word-break:break-word;
}

/* ── Carte gagnant (grande, mise en avant, contour doré) ── */
.jap-cat-section > .jap-card{
    display:grid;grid-template-columns:220px 1fr;align-items:stretch;
    max-width:none;margin-top:18px;margin-bottom:0;
    border:2px solid #fbbf24;box-shadow:0 16px 40px rgba(251,191,36,.18);
}
.jap-cat-section > .jap-card:hover{ transform:translateY(-4px);box-shadow:0 20px 48px rgba(251,191,36,.28); }
.jap-cat-section > .jap-card .jap-card-img{ aspect-ratio:auto;height:220px;align-self:stretch; }
.jap-cat-section > .jap-card .jap-card-body{
    display:flex;flex-direction:column;justify-content:center;padding:24px 28px;
    background:linear-gradient(135deg,#fffbf0,#fff);
}
.jap-cat-section > .jap-card .jap-card-title{ font-size:19px;text-align:left; }

/* ── Autres nommés — bande scrollable ── */
.jap-nommes-label{
    font-size:12px;font-weight:700;color:#092d4f;opacity:.6;
    margin:20px 0 12px;text-transform:uppercase;letter-spacing:.5px;
}
.jap-nommes-scroll{
    overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;
    scrollbar-width:thin;
}
.jap-nommes-scroll::-webkit-scrollbar{ height:5px; }
.jap-nommes-scroll::-webkit-scrollbar-track{ background:#f1f3f5;border-radius:10px; }
.jap-nommes-scroll::-webkit-scrollbar-thumb{ background:#fbbf24;border-radius:10px; }
.jap-nommes-track{ display:flex;gap:14px; }
.jap-nommes-track .jap-card{ flex:0 0 180px;width:180px; }
.jap-nommes-track .jap-card-img{ aspect-ratio:1/1; }
.jap-nommes-track .jap-card:hover{ transform:translateY(-3px);box-shadow:0 10px 24px rgba(9,45,79,.14); }

@media(max-width:768px){
    .joie-awards-public{ padding:24px 16px 50px!important; }
    .jap-header{ padding:28px 18px!important;margin-top:10px;border-radius:16px; }
    .jap-header-icon{ font-size:30px!important; }
    .jap-header h1{ font-size:19px!important; }
    .jap-header p{ font-size:12px!important; }
    .jap-cat-section{ margin-bottom:40px; }
    .jap-cat-title{ font-size:14px!important; }
    .jap-cat-section > .jap-card{ grid-template-columns:1fr!important;max-width:100%!important; }
    .jap-cat-section > .jap-card .jap-card-img{ aspect-ratio:16/10!important;height:auto!important; }
    .jap-cat-section > .jap-card .jap-card-title{ font-size:15px!important; }
    .jap-card-title{ font-size:11px!important; }
    .jap-card-badge{ font-size:8px!important;padding:3px 8px!important; }
    .jap-nommes-track .jap-card{ flex:0 0 130px!important;width:130px!important; }
    /* Carte gagnante : conteneur large en 16/10 sur mobile -> cercle qui reste bien visible */
    .jap-cat-section > .jap-card .jap-card-avatar,
    .jap-cat-section > .jap-card .jap-card-avatar-ph{ width:130px!important;height:130px!important; }
    /* Bande des autres nommés : cartes étroites -> cercle réduit en conséquence */
    .jap-nommes-track .jap-card-avatar,
    .jap-nommes-track .jap-card-avatar-ph{ width:90px!important;height:90px!important; }
}

/* ── Widget "En tête actuellement" (mode live) ── */
.joie-awards-live-widget{
    background:linear-gradient(135deg,#092d4f,#0c447c);
    border-radius:12px;padding:16px 18px;margin-bottom:16px;
    font-family:'Montserrat',sans-serif;color:#fff;
}
.jalw-title{ font-size:12px;font-weight:800;margin-bottom:12px;opacity:.9; }
.jalw-grid{ display:flex;flex-wrap:wrap;gap:12px; }
.jalw-item{ display:flex;align-items:center;gap:8px;flex:0 0 calc(50% - 6px);min-width:140px; }
.jalw-cat{ font-size:9px;opacity:.6;text-transform:uppercase;letter-spacing:.3px; }
.jalw-nom{ font-size:12px;font-weight:700; }

@media(max-width:600px){
    .joie-awards-live-widget{ padding:12px 14px!important; }
    .jalw-title{ font-size:11px!important; }
    .jalw-item{ flex:0 0 100%!important; }
    .jalw-nom{ font-size:11px!important; }
}

/* ── Lien lauréat dans le bloc organisateur (single-event.php) —
   taille badge standard du site, couleur selon l'état réel ── */
.joie-orga-award-link{
    display:inline-flex;align-items:center;gap:5px;margin-bottom:8px;
    font-size:10px;font-weight:700;color:#fff;
    padding:4px 12px;border-radius:20px;
    text-decoration:none;transition:.2s;
    white-space:nowrap;
}
/* Lauréat officiel — rouge, comme partout ailleurs */
.joie-orga-award-link-laureat{ background:#e31d2b; }
/* En tête / Nommé — provisoire, doré/ambre comme partout ailleurs */
.joie-orga-award-link-en_tete,
.joie-orga-award-link-nomme{ background:#856404; }

.joie-orga-award-link:hover{
    filter:brightness(1.15);
    transform:translateY(-1px);
}
@media(max-width:768px){
    .joie-orga-award-link{ font-size:9px!important;padding:4px 10px!important; }
}

/* ── Encart nomination (TB organisateur / espace client) ──
   3 états visuellement distincts, cohérents avec la page publique */
.joie-award-encart{
    border-radius:14px;padding:16px 20px;margin-bottom:16px;
    color:#fff;font-family:'Montserrat',sans-serif;
    box-shadow:0 6px 20px rgba(9,45,79,.15);
}
.joie-award-encart-laureat{ background:linear-gradient(135deg,#092d4f,#e31d2b); }
.joie-award-encart-en_tete{ background:linear-gradient(135deg,#856404,#6d5303); }
.joie-award-encart-nomme{   background:linear-gradient(135deg,#856404,#6d5303); }

/* Icône + titre — alignés sur la même ligne (desktop), l'icône
   bascule au-dessus du titre en mobile (voir media query) */
.jae-header{
    display:flex;align-items:center;gap:12px;
    margin-bottom:8px;
}
.jae-icon{
    display:inline-block;font-size:30px;line-height:1;flex-shrink:0;
    animation:jaeIconFloat 3.5s ease-in-out infinite;
}
@keyframes jaeIconFloat{
    0%,100%{ transform:translateY(0) rotate(0deg); }
    50%{ transform:translateY(-5px) rotate(-3deg); }
}
.jae-title{ font-size:16px;font-weight:800;line-height:1.3; }

.jae-body{ padding-left:42px; }
.jae-cat{ font-size:12px;opacity:.85;font-weight:600; }
.jae-year{ font-size:10px;opacity:.65;text-transform:uppercase;letter-spacing:.4px;font-weight:700;margin-top:2px; }

/* Pastilles côte à côte — évite l'empilement qui gonflait la carte */
.jae-actions{ display:flex;flex-wrap:wrap;gap:8px;margin-top:10px; }
.jae-disclaimer{
    display:inline-flex;align-items:center;font-size:10px;font-weight:700;
    background:rgba(255,255,255,.15);padding:6px 12px;border-radius:20px;
    white-space:nowrap;
}
.jae-photo-hint{
    display:inline-flex;align-items:center;gap:6px;
    font-size:11px;font-weight:600;color:rgba(255,255,255,.85);
    font-style:italic;
}

@media(prefers-reduced-motion:reduce){
    .jae-icon{ animation:none!important; }
}
@media(max-width:600px){
    .joie-award-encart{ padding:14px 16px!important;text-align:center; }
    .jae-header{ flex-direction:column;align-items:center!important;justify-content:center;gap:6px!important; }
    .jae-body{ padding-left:0!important; }
    .jae-icon{ font-size:28px!important; }
    .jae-title{ font-size:13px!important; }
    .jae-cat{ font-size:11px!important; }
    .jae-year{ font-size:9px!important; }
    .jae-actions{ justify-content:center!important; }
    .jae-disclaimer,.jae-photo-hint{ font-size:9px!important; }
    .jae-disclaimer{ padding:5px 10px!important; }
}

/* ── Bandeau teaser (billetterie publique) — pleine largeur,
   dégradé animé (même technique que les badges catégorie du site),
   reflet lumineux périodique pour attirer l'œil. ── */
.joie-awards-teaser{
    display:block;position:relative;overflow:hidden;
    width:100%;
    background:linear-gradient(270deg,#092d4f,#e31d2b,#092d4f);
    background-size:300% 300%;
    animation:joieAwardsTeaserGradient 6s ease infinite;
    text-decoration:none;
    box-shadow:0 4px 20px rgba(9,45,79,.2);
}
@keyframes joieAwardsTeaserGradient{
    0%{ background-position:0% 50%; }
    50%{ background-position:100% 50%; }
    100%{ background-position:0% 50%; }
}
/* Reflet lumineux qui balaie le bandeau toutes les quelques secondes */
.jat-shine{
    position:absolute;top:0;left:-40%;width:35%;height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);
    transform:skewX(-20deg);
    animation:joieAwardsTeaserShine 4s ease-in-out infinite;
    pointer-events:none;
}
@keyframes joieAwardsTeaserShine{
    0%,60%{ left:-40%; }
    100%{ left:140%; }
}
.jat-inner{
    position:relative;z-index:1;
    display:flex;align-items:center;gap:16px;
    max-width:1100px;margin:0 auto;
    padding:18px 24px;
    transition:.25s;
}
.joie-awards-teaser:hover .jat-inner{ padding-left:30px; }
.jat-icon{ font-size:30px;flex-shrink:0; }
.jat-text{ flex:1;display:flex;flex-direction:column;gap:3px; }
.jat-text strong{ font-size:15px;font-weight:800;color:#fff; }
.jat-text span{ font-size:12px;color:rgba(255,255,255,.8); }
.jat-arrow{ font-size:20px;color:#fff;flex-shrink:0;transition:.2s; }
.joie-awards-teaser:hover .jat-arrow{ transform:translateX(6px); }

@media(max-width:768px){
    .jat-inner{ padding:14px 16px!important;gap:10px!important; }
    .joie-awards-teaser:hover .jat-inner{ padding-left:16px!important; }
    .jat-icon{ font-size:24px!important; }
    .jat-text strong{ font-size:12px!important; }
    .jat-text span{ font-size:10px!important; }
}
@media(prefers-reduced-motion:reduce){
    .joie-awards-teaser,.jat-shine{ animation:none!important; }
}

/* ═══════════════════════════════════════════
   JOIE — PAGE PUBLIQUE PROFIL ORGANISATEUR
═══════════════════════════════════════════ */
.jop-wrap{ max-width:800px;margin:0 auto;padding:20px;font-family:'Montserrat',sans-serif; }

.jop-header{
    text-align:center;background:linear-gradient(135deg,#092d4f,#0c447c);
    border-radius:16px;padding:36px 24px;margin-bottom:20px;color:#fff;
}
.jop-logo{
    width:88px;height:88px;border-radius:14px;object-fit:cover;
    border:3px solid rgba(255,255,255,.25);margin-bottom:14px;display:block;margin-left:auto;margin-right:auto;
}
.jop-logo-ph{
    display:flex;align-items:center;justify-content:center;
    font-size:36px;background:rgba(255,255,255,.12);
}
.jop-nom{ font-size:22px;font-weight:900;margin:0 0 6px;color:#fff; }
.jop-type{ font-size:12px;font-weight:700;color:rgba(255,255,255,.8);margin-bottom:4px; }
.jop-loc{ font-size:12px;color:rgba(255,255,255,.65);margin-bottom:10px; }
.jop-award{ display:flex;justify-content:center; }

.jop-card{
    background:#fff;border-radius:14px;padding:22px 24px;
    box-shadow:0 4px 16px rgba(9,45,79,.07);margin-bottom:16px;
}
.jop-card h3{
    font-size:12px;font-weight:700;color:#e31d2b;text-transform:uppercase;
    letter-spacing:.5px;margin:0 0 14px;padding-bottom:8px;border-bottom:1px solid #f1f3f5;
}
.jop-desc{ font-size:13px;color:#092d4f;line-height:1.8;margin:0; }

.jop-info-row{ display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f5f7fa;font-size:13px;flex-wrap:wrap;gap:4px; }
.jop-info-row:last-child{ border-bottom:none; }
.jop-info-label{ color:#092d4f;opacity:.55;font-weight:600; }
.jop-info-val{ color:#092d4f;font-weight:700;text-align:right; }
.jop-info-val a{ color:#0c447c;text-decoration:none; }
.jop-info-val a:hover{ text-decoration:underline; }

.jop-socials{ display:flex;flex-wrap:wrap;gap:10px; }
.jop-socials a{
    display:flex;align-items:center;justify-content:center;
    width:38px;height:38px;border-radius:10px;transition:.2s;
}
.jop-socials a:hover{ opacity:.85;transform:translateY(-2px); }

.jop-events-grid{ display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px; }
.jop-event-card{
    background:#fff;border:1px solid #f1f3f5;border-radius:12px;overflow:hidden;
    text-decoration:none;transition:.25s;display:block;box-shadow:0 2px 8px rgba(0,0,0,.04);
}
.jop-event-card:hover{ transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.1); }
.jop-event-img{ aspect-ratio:4/3;overflow:hidden;background:#f5f7fa; }
.jop-event-img img{ width:100%;height:100%;object-fit:cover;display:block; }
.jop-event-ph{ width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:28px;color:#ccc; }
.jop-event-body{ padding:10px 12px; }
.jop-event-title{
    font-size:12px;font-weight:700;color:#092d4f;line-height:1.4;margin-bottom:4px;
    display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.jop-event-date{ font-size:10px;color:#6c757d; }

@media(max-width:768px){
    .jop-wrap{ padding:12px; }
    .jop-header{ padding:26px 16px!important; }
    .jop-logo,.jop-logo-ph{ width:70px!important;height:70px!important; }
    .jop-nom{ font-size:17px!important; }
    .jop-type,.jop-loc{ font-size:11px!important; }
    .jop-card{ padding:16px 14px!important; }
    .jop-card h3{ font-size:11px!important; }
    .jop-desc,.jop-info-row{ font-size:12px!important; }
    .jop-events-grid{ grid-template-columns:repeat(2,1fr)!important;gap:10px!important; }
}

@media (min-width: 54rem) {
    #primary-menu > li > a > span{
        display: inline-block;
        transition: transform .2s ease, opacity .2s ease;
    }
    #primary-menu > li > a:not(.wp-block-button__link):hover > span {
        transform: translateX(3px);
        opacity: .8;
    }
    #primary-menu .sub-menu li > a > span{
        display: inline-block;
        transition: transform .2s ease, opacity .2s ease;
    }
    #primary-menu .sub-menu li > a:not(.wp-block-button__link):hover > span {
        transform: translateX(3px);
        opacity: .8;
    }
}

@media (max-width: 54rem) {
    .slide-menu .sub-menu {
        background: rgba(0,0,0,0.15) !important;
        border-radius: 8px !important;
        margin: 6px 0 14px !important;
        padding: 4px 0 !important;
    }
    .slide-menu .sub-menu li {
        padding: 0 !important;
    }
    .slide-menu .sub-menu li a {
        padding: 10px 20px 10px 34px !important;
        display: block !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        opacity: 0.88;
    }
    .slide-menu .sub-menu li a span {
        position: relative;
    }
    .slide-menu .sub-menu li a span::before {
        content: "—";
        position: absolute;
        left: -16px;
        opacity: 0.6;
    }
    .slide-menu .sub-menu li:not(:last-child) {
        border-bottom: 1px solid rgba(255,255,255,0.3);
    }
    .slide-menu > ul > li.menu-item {
        margin-bottom: 4px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.3);
    }
    .slide-menu > ul > li.menu-item:last-of-type,
    .slide-menu > ul > li.search-icon {
        border-bottom: none !important;
    }
    .slide-menu > ul > li.menu-item.menu-item-has-children {
        padding-bottom: 4px;
    }
    .slide-menu > ul > li.menu-item > a {
        font-weight: 700 !important;
    }
}


/* ══════════════════════════════════════════════════════════
   JOIE — Recherche compacte (remplace l'overlay plein écran natif)
   ══════════════════════════════════════════════════════════ */

.jsearch-wrap{
    position:relative;
    display:flex;
    align-items:center;
}

.jsearch-toggle{
    background:none;border:none;cursor:pointer;
    display:flex;align-items:center;justify-content:center;
    padding:6px;color:inherit;
}

.jsearch-form{
    position:absolute;
    top:50%;right:0;
    transform:translateY(-50%);
    display:flex;align-items:center;
    background:#fff;
    border:1.5px solid #e8ecf0;
    border-radius:30px;
    box-shadow:0 8px 24px rgba(9,45,79,0.15);
    overflow:hidden;
    width:0;
    padding:0;
    opacity:0;
    pointer-events:none;
    transition:width .3s ease, opacity .2s ease, padding .3s ease;
    z-index:9999;
}

.jsearch-wrap.jsearch-open .jsearch-form{
    width:260px;
    padding:4px 4px 4px 16px;
    opacity:1;
    pointer-events:auto;
}

.jsearch-input{
    flex:1;
    border:none;
    outline:none;
    background:transparent;
    font-family:'Montserrat',Arial,sans-serif;
    font-size:13px;
    color:#092d4f;
    min-width:0;
}
.jsearch-input::placeholder{ color:#092d4f;opacity:.5; }

.jsearch-submit{
    background:#e31d2b;color:#fff;border:none;border-radius:50%;
    width:32px;height:32px;flex-shrink:0;
    display:flex;align-items:center;justify-content:center;cursor:pointer;
    transition:background .2s ease;
}
.jsearch-submit:hover{ background:#092d4f; }

/* ───── Mobile : champ pleine largeur sous l'icône, pas de débordement d'écran ───── */
@media(max-width:54rem){
    .jsearch-wrap{ width:100%; }
    .jsearch-form{
        position:static;
        transform:none;
        width:100% !important;
        max-width:0;
        margin-top:0;
        box-shadow:none;
        background:rgba(255,255,255,0.12);
        border-color:rgba(255,255,255,0.25);
    }
    .jsearch-wrap.jsearch-open .jsearch-form{
        max-width:100%;
        margin-top:10px;
        padding:4px 4px 4px 16px !important;
    }
    .jsearch-input{ color:#fff;font-size:14px; }
    .jsearch-input::placeholder{ color:#fff;opacity:.6; }
    .jsearch-toggle{ color:#fff; }
}

.jsearch-submit{
    font-size:14px;
    line-height:1;
}

.site-description{
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

@media (max-width: 54rem) {
    #top-navigation {
        display: none !important;
    }
}


@media (max-width: 54rem) {
    .header-content-wrapper{
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap !important;
        gap: 10px;
    }
    .site-branding{
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }
    .main-navigation-container .custom-logo-link{
        width: 85px !important;
        flex-shrink: 0;
    }
    .custom-logo{
        max-width: 85px !important;
        width: 85px !important;
        height: auto;
        flex-shrink: 0;
    }
    .site-meta{
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    .site-title,
    .site-title a{
        font-size: 14px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
    }
    .site-description{
        display: block !important;
        font-size: 10px !important;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: normal;
        max-width: 100%;
        margin-top: 2px !important;
        line-height: 1.3;
        text-wrap: balance;
    }
    #main-navigation,
    .menu-toggle{
        flex-shrink: 0;
    }
}

.jhero-title-text{
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: 100% !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}


.site-branding{ min-width: 0; }
.site-meta{ min-width: 0; overflow: hidden; }
.site-title,
.site-title a{
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}