/* Reparation33 — front.css — v4 forced reset */

.rep33-form-header { display: none !important; }

.rep33-wrap {
    max-width: 560px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #111 !important;
}

/* ── HEADER ── */
.rep33-hero {
    padding: 32px 0 22px;
    border-bottom: 2px solid #111;
    margin-bottom: 30px;
}
.rep33-hero-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0057FF;
    margin-bottom: 10px;
    display: block;
}
.rep33-hero h2 {
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    color: #111 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
.rep33-hero-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.rep33-hero-meta span {
    color: #666;
}
.rep33-hero-meta span + span::before {
    content: ' · ';
    color: #bbb;
}

/* ── ADRESSE ── */
.rep33-ship-strip {
    background: #0057FF;
    color: rgba(255,255,255,.92) !important;
    font-size: 12.5px !important;
    line-height: 1.6;
    padding: 13px 18px;
    margin-bottom: 36px;
    border-radius: 0 !important;
}
.rep33-ship-strip strong { color: #fff !important; }
.rep33-info-box { display: none !important; }

/* ── SECTIONS ── */
.rep33-section { margin-bottom: 32px; }

.rep33-section-title {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    color: #aaa !important;
    margin-bottom: 18px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #e8e8e8 !important;
    border-radius: 0 !important;
    background: none !important;
    display: block !important;
    line-height: 1 !important;
}
/* Masquer badge/icône de l'ancien thème */
.rep33-section-title span,
.rep33-section-title > span { display: none !important; }
.rep33-section-title::after,
.rep33-section-title::before { display: none !important; }

.rep33-section-body {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* ── GRILLE ── */
.rep33-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}
.rep33-group { margin-bottom: 18px !important; }

.rep33-group label,
.rep33-wrap label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: #555 !important;
    margin-bottom: 8px !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
}
.req { color: #0057FF !important; }

/* ── INPUTS — reset complet ── */
.rep33-wrap input[type="text"],
.rep33-wrap input[type="email"],
.rep33-wrap input[type="tel"],
.rep33-wrap select,
.rep33-wrap textarea {
    display: block !important;
    width: 100% !important;
    padding: 12px 0 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    color: #111 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid #ddd !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: border-color .15s !important;
    margin: 0 !important;
    outline: none !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
}

.rep33-wrap input[type="text"]:focus,
.rep33-wrap input[type="email"]:focus,
.rep33-wrap input[type="tel"]:focus,
.rep33-wrap select:focus,
.rep33-wrap textarea:focus {
    border-bottom-color: #0057FF !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.rep33-wrap input::placeholder,
.rep33-wrap textarea::placeholder { color: #ccc !important; }

.rep33-wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230057FF'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 2px center !important;
    padding-right: 22px !important;
    cursor: pointer !important;
}
.rep33-wrap textarea { resize: vertical !important; min-height: 86px !important; }

/* ── CHECKBOX ── */
.rep33-checkbox-group { display: flex !important; align-items: center !important; }
.rep33-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #555 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.rep33-wrap input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    accent-color: #0057FF !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* ── CONDITIONS ── */
.rep33-cg {
    border-top: 1px solid #e8e8e8 !important;
    border-radius: 0 !important;
    background: none !important;
    padding: 18px 0 !important;
    margin-bottom: 24px !important;
    font-size: 12.5px !important;
    color: #888 !important;
    line-height: 1.7 !important;
}

/* ── SUBMIT ── */
#rep33-submit {
    width: 100% !important;
    background: #0057FF !important;
    color: #fff !important;
    padding: 18px 20px !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: inherit !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: background .15s !important;
    box-shadow: none !important;
    display: block !important;
    line-height: 1 !important;
}
#rep33-submit:hover    { background: #003FCC !important; }
#rep33-submit:active   { opacity: .85 !important; }
#rep33-submit:disabled { background: #aac0ff !important; cursor: not-allowed !important; }

.rep33-note {
    text-align: center !important;
    font-size: 11px !important;
    color: #aaa !important;
    margin-top: 12px !important;
    line-height: 1.6 !important;
}

/* ── ERREUR ── */
.rep33-error {
    border-left: 3px solid #e63946 !important;
    border-radius: 0 !important;
    padding: 10px 14px !important;
    margin-bottom: 16px !important;
    font-size: 13px !important;
    color: #c00 !important;
    background: #fff5f5 !important;
}

/* ── SUCCÈS ── */
.rep33-success-box {
    text-align: center !important;
    padding: 48px 20px !important;
    border: 2px solid #111 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}
.rep33-success-icon { font-size: 40px !important; margin-bottom: 16px !important; display: block !important; }
.rep33-success-box h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 10px !important;
}
.rep33-order-num {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: #0057FF !important;
    display: inline-block !important;
    padding: 8px 20px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin: 14px 0 !important;
    border-radius: 0 !important;
}
.rep33-addr-confirm {
    border: 1px solid #e8e8e8 !important;
    border-radius: 0 !important;
    padding: 14px 18px !important;
    margin-top: 16px !important;
    font-size: 12.5px !important;
    line-height: 1.9 !important;
    display: inline-block !important;
    text-align: left !important;
    background: #fff !important;
}

/* ── CP ── */
.rep33-group--cp { max-width: 160px; }

/* ── RESPONSIVE ── */
@media (max-width: 560px) {
    .rep33-hero h2 { font-size: 26px !important; }
    .rep33-ship-strip { margin: 0 -16px 32px !important; }
}
@media (max-width: 400px) {
    .rep33-row { grid-template-columns: 1fr !important; }
    .rep33-group--cp { max-width: none !important; }
}

/* ── FACTURE / UPLOAD ── */
#rep33-facture-submit, .rep33-btn-submit {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: center !important;
    width: 100% !important; background: #0057FF !important;
    color: #fff !important; padding: 18px 24px !important;
    border: none !important; border-radius: 0 !important;
    cursor: pointer !important; font-family: inherit !important;
    -webkit-appearance: none !important; transition: background .15s !important;
    margin-bottom: 12px !important; gap: 2px !important;
}
#rep33-facture-submit:hover, .rep33-btn-submit:hover { background: #003FCC !important; }
#rep33-facture-submit:disabled, .rep33-btn-submit:disabled { background: #aac0ff !important; cursor: not-allowed !important; }
.btn-icon { font-size: 22px !important; margin-bottom: 2px !important; }
.btn-label { font-size: 14px !important; font-weight: 700 !important; letter-spacing: 1px !important; text-transform: uppercase !important; }
.btn-sub { font-size: 11px !important; opacity: .7 !important; }
.rep33-upload-zone { border: 2px dashed #0057FF !important; border-radius: 0 !important; overflow: hidden !important; background: #f0f4ff !important; }
.rep33-upload-zone:hover { background: #dde8ff !important; }
.rep33-upload-inner { padding: 24px 20px !important; text-align: center !important; cursor: pointer !important; }
.rep33-upload-icon { font-size: 32px !important; margin-bottom: 8px !important; }
.rep33-upload-text { font-size: 14px !important; font-weight: 600 !important; color: #0057FF !important; margin-bottom: 4px !important; }
.rep33-upload-sub { font-size: 11px !important; color: #aaa !important; }
.rep33-photos-preview { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; padding: 0 14px 14px !important; }
.rep33-photos-preview img { width: 90px !important; height: 70px !important; object-fit: cover !important; border-radius: 0 !important; border: 2px solid #e0e6ff !important; }
.rep33-photo-wrap { position: relative !important; display: inline-block !important; }
.rep33-photos-preview .rep33-photo-del {
    position: absolute !important; top: -6px !important; right: -6px !important;
    background: #e63946 !important; color: #fff !important; border: none !important;
    border-radius: 50% !important; width: 20px !important; height: 20px !important;
    font-size: 12px !important; cursor: pointer !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
}
