/* BPOST */
#checkout #sw #sw-search {
	padding: 0 20px;
	position: relative;
}

#checkout #sw #sw-search #sw-query-btn {
	background-color: #24b9d7;
	color: white;
	height: auto;
}

#checkout #sw #sw-search #sw-query-results {
	z-index: 99999999;
}

#checkout #sw #sw-display-options #sw-display-option {
	font-size: 16px;
}

#checkout #sw #sw-display-options .sw-display-option.selected {
	border-bottom: 3px solid #24b9d7;
}

#checkout #sw #sw-search #sw-query-results {
	top: 100%;
	left: 20px;
	right: 20px;
	width: auto;
	padding-top: 0px;
}

#checkout #sw .sw-point-info .sw-point-info-btn {
	border: 1px solid #24b9d7;
	color: #24b9d7;
}

#checkout #sw #sw-map-selected-point {
	bottom: auto;
	top: 10px;
}

/* ======================================
   BPOST - Liste des points relais
   ====================================== */

/* Grille des points relais */
#checkout #sw #sw-list-points {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    align-items: stretch;
}

/* Carte d'un point relais */
#checkout #sw #sw-list-points .sw-point-info {
    display: flex !important;
    flex-direction: column;
    position: relative;
    width: 100% !important;
    height: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Nom du point relais */
#checkout #sw #sw-list-points .sw-point-info-name {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

/* Adresse */
#checkout #sw #sw-list-points .sw-point-info-addr {
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Distance */
#checkout #sw #sw-list-points .sw-point-info-distance {
    display: none;
}

/* Horaires */
#checkout #sw #sw-list-points .sw-point-info-open {
    margin-bottom: 20px;
}

/* Annule les marges négatives inline */
#checkout #sw #sw-list-points .sw-point-info-day {
    margin-bottom: 3px !important;
    line-height: 0.4;
}

#checkout #sw #sw-list-points .sw-point-info-day label {
	font-weight: bold;
}

/* Bouton sélectionner */
#checkout #sw #sw-list-points .sw-point-info-btn {
    position: static !important;
    margin: auto 0 0 auto !important;
    padding: 10px 18px;
    width: auto;
    height: auto;
    align-self: flex-end;
    cursor: pointer;
}

#checkout #sw .sw-query-results-description {
	display: none;
}

#checkout .bpost-choose-pickup {
	padding: 0 15px;
}

#checkout .bpost-choose-pickup .bpost-button {
	white-space: normal;
}

#checkout .carrier-extra-content {
	border-right: 0px !important;
}

/* Responsive : une seule colonne */
@media (max-width: 767px) {
    #checkout #sw #sw-list-points {
        grid-template-columns: 1fr;
    }

    #checkout #sw #sw-list-points .sw-point-info {
        padding: 15px !important;
    }
	
	#checkout #sw #sw-map-selected-point {
		min-width: 180px;
	}
	
	#checkout #sw #sw-map-selected-point .sw-point-info-btn {
		position: relative;
		float: right;
		bottom: 0;
		right: 0;
	}
	
	#checkout #sw #sw-search #sw-query {
		width: 50%;
	}
}