/* Nouyouin Billetterie — styles publics */

.ntk-events{display:grid;grid-template-columns:repeat(var(--ntk-cols,3),1fr);gap:22px;margin:24px 0;}
@media (max-width:900px){.ntk-events{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.ntk-events{grid-template-columns:1fr;}}

.ntk-event-card{background:#fff;border:1px solid #efe9dd;border-radius:16px;overflow:hidden;box-shadow:0 4px 18px rgba(58,45,28,.06);display:flex;flex-direction:column;height:100%;}
.ntk-event-img-link{display:block;}
.ntk-event-img{height:150px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f4efe6;}
.ntk-event-img--empty{background-image:linear-gradient(135deg,#f4efe6 25%,#efe9dd 25%,#efe9dd 50%,#f4efe6 50%,#f4efe6 75%,#efe9dd 75%,#efe9dd 100%);background-size:28px 28px;}
.ntk-event-body{padding:18px;display:flex;flex-direction:column;gap:6px;flex:1;}
.ntk-event-body h3{margin:0;font-size:18px;color:#184d47;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ntk-event-body h3 a{color:inherit;text-decoration:none;}
.ntk-event-body h3 a:hover{text-decoration:underline;}
.ntk-event-meta{color:#9a9384;font-size:13px;margin:0;}
.ntk-event-excerpt{color:#6b6153;font-size:14px;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.ntk-event-footer{margin-top:auto;padding-top:12px;display:flex;flex-direction:column;gap:10px;}
.ntk-price{font-size:20px;font-weight:700;color:#c14426;margin:8px 0;}
.ntk-price-card{margin:0;}
.ntk-price-prefix{display:block;font-size:12px;font-weight:500;color:#9a9384;}
.ntk-event-footer .ntk-btn{width:100%;}
.ntk-remaining{color:#d4a019;font-weight:600;margin:0 0 12px;}

.ntk-btn{display:inline-block;background:#184d47;color:#fff!important;padding:11px 20px;border-radius:10px;text-decoration:none;font-weight:600;border:none;cursor:pointer;transition:background .15s ease;text-align:center;}
.ntk-btn:hover,.ntk-btn:focus{background:#c14426;color:#fff!important;}
.ntk-btn-pay{font-size:16px;padding:14px 24px;margin-top:10px;}

.ntk-event-detail{max-width:620px;margin:28px 0;background:#fff;border:1px solid #efe9dd;border-radius:16px;padding:26px;}
.ntk-event-detail h2{color:#184d47;margin-top:0;}
.ntk-event-hero{display:block;width:100%;max-height:420px;height:auto;object-fit:contain;background:#f4efe6;border-radius:12px;margin:0 0 18px;}
@media (max-width:560px){.ntk-event-hero{max-height:280px;}}
.ntk-back{margin:24px 0 -8px;}
.ntk-back a{color:#184d47;text-decoration:none;font-weight:600;}
.ntk-back a:hover{text-decoration:underline;}
.ntk-desc{margin:14px 0;color:#3a2d1c;}

.ntk-form{display:flex;flex-direction:column;gap:14px;margin-top:18px;}
/* Disposition deux colonnes pour le formulaire d'achat : par défaut, chaque
   champ (label + input) occupe une colonne et se place naturellement à côté
   du suivant (Nom/Prénom, E-mail/Téléphone, Nombre de billets/Total, Nom du
   participant/Code promo…). Seuls les blocs structurants qui n'ont pas de
   pendant logique sur la même ligne (choix sur place/en ligne, moyen de
   paiement, case newsletter, bouton, mention de sécurité) sont forcés en
   pleine largeur ci-dessous. */
.ntk-form.ntk-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;align-items:start;}
.ntk-form.ntk-grid > .ntk-gateways,
.ntk-form.ntk-grid > .ntk-ticket-type,
.ntk-form.ntk-grid > .ntk-check,
.ntk-form.ntk-grid > .ntk-btn,
.ntk-form.ntk-grid > .ntk-secure{grid-column:1 / -1;}
@media (max-width:560px){.ntk-form.ntk-grid{grid-template-columns:1fr;}.ntk-form.ntk-grid > *{grid-column:1 / -1;}}
.ntk-form label{display:flex;flex-direction:column;font-size:14px;font-weight:600;color:#3a2d1c;gap:6px;}
.ntk-form input[type=text],.ntk-form input[type=email],.ntk-form input[type=tel],.ntk-form select{padding:11px 12px;border:1px solid #d8d0c2;border-radius:10px;font-size:15px;font-weight:400;width:100%;box-sizing:border-box;height:44px;}
.ntk-form input:focus,.ntk-form select:focus{outline:none;border-color:#184d47;box-shadow:0 0 0 3px rgba(24,77,71,.12);}
.ntk-attendees{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;}
.ntk-attendees.ntk-attendees-single{display:contents;}
.ntk-attendees label{display:flex;flex-direction:column;font-size:14px;font-weight:600;color:#3a2d1c;gap:6px;}
@media (max-width:560px){.ntk-attendees{grid-template-columns:1fr;}}
.ntk-gateways{border:1px solid #efe9dd;border-radius:12px;padding:14px 16px;}
.ntk-gateways legend{font-weight:700;color:#184d47;padding:0 6px;}
.ntk-gw{flex-direction:row!important;align-items:center;gap:10px!important;font-weight:500!important;padding:6px 0;}
/* Moyens de paiement spécifiquement : une seule ligne (3 colonnes sur desktop).
   Le fieldset "Quelle(s) séance(s)" garde le style d'origine (une option par
   ligne), les libellés y étant plus longs (dates, prix). */
.ntk-payment-methods{display:flex;flex-wrap:wrap;gap:4px 22px;}
.ntk-payment-methods legend{width:100%;}
.ntk-payment-methods .ntk-gw{flex:1 1 200px;padding:6px 0;}
@media (max-width:640px){.ntk-payment-methods .ntk-gw{flex:1 1 100%;}}
.ntk-check{flex-direction:row!important;align-items:center;gap:8px!important;font-weight:500!important;}
.ntk-secure{font-size:13px;color:#9a9384;text-align:center;margin:6px 0 0;}

.ntk-alert{background:#fbeee9;border:1px solid #c14426;color:#c14426;padding:12px 16px;border-radius:10px;margin-bottom:16px;}
.ntk-empty{color:#9a9384;font-style:italic;}

/* Vérification de billet en libre-service (v1.1) */
.ntk-verify-box { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid #efe9dd; border-radius: 14px; padding: 22px; }
.ntk-verify-box h3 { margin: 0 0 14px; color: #184d47; }
.ntk-verify-form label { display: block; margin-bottom: 10px; font-weight: 600; }
.ntk-verify-form input[type="text"] { display: block; width: 100%; padding: 10px; margin-top: 4px; border: 1px solid #d8d0c2; border-radius: 8px; text-transform: uppercase; }
.ntk-ok-box { background: #f4efe6; border-radius: 10px; padding: 16px; }
.ntk-ok-line { font-weight: 700; color: #184d47; margin: 0 0 10px; }
.ntk-verify-tbl { width: 100%; border-collapse: collapse; }
.ntk-verify-tbl td { padding: 6px 0; border-bottom: 1px solid #e7e0d2; }
.ntk-verify-tbl td:first-child { color: #9a9384; width: 40%; }

/* Choix de séances multiples (v1.5) */
.ntk-sessions-choice .ntk-gw{align-items:flex-start!important;}
.ntk-total{display:flex;justify-content:space-between;align-items:center;background:#f4efe6;border-radius:10px;padding:0 16px;margin:0;height:44px;box-sizing:border-box;}
.ntk-total .ntk-total-label{font-weight:600;color:#3a2d1c;}
.ntk-total .ntk-total-amount{font-size:18px;color:#184d47;text-align:right;}

/* Affichage multi-devises (v1.6) — rendu plus visible en v1.7.3 */
.ntk-price-alt{display:block;font-size:14px;font-weight:600;color:#184d47;margin-top:4px;}
.ntk-price-note{display:block;font-size:11px;font-weight:400;font-style:italic;color:#9a9384;margin-top:2px;}
.ntk-gw .ntk-price-alt,.ntk-gw .ntk-price-note{display:inline;margin:0;font-size:13px;}

/* Direct sécurisé pour billets virtuels (v1.8) */
.ntk-live-box{max-width:900px;margin:0 auto;background:#fff;border:1px solid #efe9dd;border-radius:14px;padding:22px;box-sizing:border-box;}
.ntk-live-box h3{margin:0 0 14px;color:#184d47;}
.ntk-live-hint{color:#6b6153;font-size:14px;line-height:1.5;margin:0 0 16px;}
.ntk-live-form{max-width:360px;}
.ntk-live-player{margin-top:10px;}
.ntk-live-frame-wrap{position:relative;width:100%;padding-top:56.25%;background:#000;border-radius:12px;overflow:hidden;}
.ntk-live-frame-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}

/* Choix « sur place » / « en ligne » — grandes cartes cliquables (v1.10) */
.ntk-ticket-type{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:4px;}
@media (max-width:520px){.ntk-ticket-type{grid-template-columns:1fr;}}
.ntk-tt-card{position:relative;display:flex;flex-direction:column;gap:4px;border:2px solid #e7e0d2;border-radius:14px;padding:18px 40px 18px 20px;cursor:pointer;background:#fff;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;}
.ntk-tt-card:hover{border-color:#c9a24a;}
.ntk-tt-card input[type="radio"]{position:absolute;top:16px;right:16px;accent-color:#184d47;width:18px;height:18px;}
.ntk-tt-selected{border-color:#184d47;background:#f4f8f6;box-shadow:0 4px 16px rgba(24,77,71,.12);}
.ntk-tt-head{display:flex;align-items:center;gap:10px;}
.ntk-tt-icon{font-size:22px;line-height:1;flex:0 0 auto;}
.ntk-tt-title{font-weight:700;color:#184d47;font-size:16px;}
.ntk-tt-desc{font-size:12.5px;color:#9a9384;line-height:1.4;margin:0;}
.ntk-email-note{display:block;font-size:12.5px;color:#9a9384;margin-top:5px;line-height:1.4;}
.ntk-email-field.ntk-email-highlight .ntk-email-note{color:#c14426;font-weight:600;}
.ntk-email-field.ntk-email-highlight input{border-color:#c14426;}

/* Carte de présentation individuelle — [nouyouin_billetterie_event_card] */
.ntk-event-feature{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:#fff;border:1px solid #efe9dd;border-radius:20px;overflow:hidden;box-shadow:0 6px 24px rgba(58,45,28,.08);margin:28px 0;}
.ntk-event-feature.ntk-feature-right{grid-template-columns:1fr 1fr;}
.ntk-event-feature.ntk-feature-right .ntk-feature-img-link{order:2;}
.ntk-event-feature.ntk-feature-right .ntk-feature-body{order:1;}

.ntk-feature-img-link{display:block;min-height:320px;}
.ntk-feature-img{width:100%;height:100%;min-height:320px;background-size:cover;background-position:center;background-color:#f4efe6;}
.ntk-feature-img--empty{background-image:linear-gradient(135deg,#f4efe6 25%,#efe9dd 25%,#efe9dd 50%,#f4efe6 50%,#f4efe6 75%,#efe9dd 75%,#efe9dd 100%);background-size:32px 32px;}

.ntk-feature-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:36px 40px;}
.ntk-feature-tag{display:inline-block;background:#faf3df;color:#8a6d1f;border:1px solid #ecdca9;padding:4px 12px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;}
.ntk-feature-title{margin:2px 0 0;font-size:26px;line-height:1.25;color:#184d47;}
.ntk-feature-title a{color:inherit;text-decoration:none;}
.ntk-feature-title a:hover{text-decoration:underline;}
.ntk-feature-meta{margin:0;color:#9a9384;font-size:14px;}
.ntk-feature-excerpt{margin:2px 0 0;color:#6b6153;font-size:15px;line-height:1.6;}
.ntk-feature-price{margin:8px 0 0;font-size:24px;font-weight:700;color:#c14426;}
.ntk-feature-price .ntk-price-prefix{display:block;font-size:12px;font-weight:500;color:#9a9384;}
.ntk-feature-price .ntk-price-alt{display:block;font-size:14px;font-weight:600;color:#184d47;margin-top:2px;}
.ntk-feature-remaining{margin:0;color:#d4a019;font-weight:600;font-size:14px;}
.ntk-feature-full{margin:0;color:#c14426;font-weight:700;font-size:14px;}
.ntk-feature-btn{margin-top:6px;padding:14px 30px;font-size:16px;}

@media (max-width:700px){
	.ntk-event-feature,.ntk-event-feature.ntk-feature-right{grid-template-columns:1fr;}
	.ntk-event-feature.ntk-feature-right .ntk-feature-img-link,
	.ntk-event-feature.ntk-feature-right .ntk-feature-body{order:initial;}
	.ntk-feature-img-link{min-height:220px;}
	.ntk-feature-img{min-height:220px;}
	.ntk-feature-body{padding:26px 22px;}
	.ntk-feature-title{font-size:22px;}
}
